package com.sky.service;

import com.sky.dto.ArticleCommentDTO;
import com.sky.dto.ArticleSubmitDTO;
import com.sky.dto.ArticleTagsDTO;
import com.sky.vo.ArticleCommentsVO;
import com.sky.vo.ArticleInfoVO;
import com.sky.vo.ArticleTreeListVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 贾晓晨
 * @version 1.0
 */
@Service
public interface ArticleService {
    ArticleInfoVO getArticleDetail(String id);

    void sendFirstComment(ArticleCommentDTO articleCommentDTO);

    ArticleCommentsVO getCommentsByArticleUserId(String articleUserId);

    void saveArticle(ArticleSubmitDTO articleSubmitDTO);


    void saveTag(List<String> tags);

    List<ArticleTreeListVO> getTreeList();
}
